The types of information that are typically transmitted when handling AJAX responses are: data, success information, error information, failure information, and processing status, the type of information passed is inconsistent, plus, in addition to
As an Internet developer, the meaning of the HTTP status returned by some servers must be well-understood, and only these status code one by one can be figured out, and all the problems encountered in the work are handled with ease. Well, let's look
HTTP status codes (various error code collections)Continue the initial request has been accepted and the customer should continue to send the remainder of the request. (HTTP 1.1 new)101 Switching Protocols Server translates the client's request to
HTTP Status Codes (various error code COLLECTIONS)Continue the initial request has been accepted and the customer should continue to send the remainder of the Request. (HTTP 1.1 New)101 Switching Protocols Server translates the Client's request to
Status Code classificationHTTP status code is divided into five categories, currently we use the HTTP protocol version is 1.1, support the following status code. As the protocol progresses, more status codes are defined in the HTTP specification.Tip:
Explanation of HTTP status codes and explanation of http Status Codes
1xx: Information
Message
Description
100 Continue
The server only receives some requests, but once the server does not reject the request, the
When the server responds to the client, it responds with the corresponding status code, and different status codes have different meanings.1XX: Information class2XX: Success Class3XX: Redirect Class4XX: Client Error class5XX: Service-side Error
Http status code is the basic knowledge of web development, the interview will often appear in this aspect of the exam. 200 Welcome back, master (normal; the request has been completed.) 301 families moved (moved-the requested data has a new
ObjectiveAfter the request is sent on the network, it is often judged by the request's status code that the successful failure or not, the common status code is 200,404,500.But do you think there are only so many status codes for HTTP requests? is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.